package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description ="过敏信息入参类")
public class GmInfoInVO {

    @NotNull(message = "请输入id" )
    private Long id;

    @NotBlank(message = "请输入识别号" )
    @Schema(description = "识别号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String patientIdent;

    @NotBlank(message = "请输入住院号" )
    @Schema(description = "住院号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String hospitalNumber;

    @NotBlank(message = "请输入过敏名称" )
    @Schema(description = "过敏名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String gmName;

}
